﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ArmoryData.Character
{
    public class CharacterBar
    {
        public enum BarType
        {
            Health = 0,
            Mana = 1,
            Rage = 2,
            Runic = 3,
            Energy = 4
        }

        public static BarType BarTypeFromString(string t)
        {
            switch (t)
            {
                case "m": return BarType.Mana;
                case "e": return BarType.Energy;
                case "r": return BarType.Rage;
                case "p": return BarType.Runic;
                default: return BarType.Health;
            }
        }

        public int Casting { get; set; }
        public int Effective { get; set; }
        public int NotCasting { get; set; }
        public int PerFive { get; set; }
        public BarType Type { get; set; }
    }
}
